package com.tocean.app.controller.framework.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

@ApiModel
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class RanksSaveRequest {


    @ApiModelProperty("名字")
    @NotEmpty
    private String name;

    @ApiModelProperty("分数")
    @NotEmpty
    private int score;
}
